(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/Script/View/Main/MainPanel.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, 'dd5bbWIlolAaopHZcUZckKf', 'MainPanel', __filename);
// Script/View/Main/MainPanel.js

"use strict";

var MainPanel = cc.Class({
    name: 'MainPanel',

    ctor: function ctor() {
        this.viewName = "";
        this.panel = null;
    },

    awake: function awake() {
        console.log("MainPanel");
        this.doudzBtn = this.panel.getChildByName("scrollview").getChildByName("view").getChildByName("content").getChildByName("doudzBtn").getComponent(cc.Button);
        this.doudzBtn.node.on(cc.Node.EventType.TOUCH_END, this.doudzHandler, this);
    },

    doudzHandler: function doudzHandler() {
        ViewMgr.showView(VIEW.LANDLORD);
    }

});

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=MainPanel.js.map
        